package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.ShiftPermission;
import com.attendance.www.hr.entitys.ShiftPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShiftPermissionMapper {
    int countByExample(ShiftPermissionExample example);

    int deleteByExample(ShiftPermissionExample example);

    int deleteByPrimaryKey(Integer shiftId);

    int insert(ShiftPermission record);

    int insertSelective(ShiftPermission record);

    List<ShiftPermission> selectByExample(ShiftPermissionExample example);

    ShiftPermission selectByPrimaryKey(Integer shiftId);

    int updateByExampleSelective(@Param("record") ShiftPermission record, @Param("example") ShiftPermissionExample example);

    int updateByExample(@Param("record") ShiftPermission record, @Param("example") ShiftPermissionExample example);

    int updateByPrimaryKeySelective(ShiftPermission record);

    int updateByPrimaryKey(ShiftPermission record);
}